package com.lanju.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "search_log")
public class SearchLog implements Serializable {

	private static final long serialVersionUID = -1600219019264329257L;

	private Integer sreach_id;

	private Date search_time;

	private String search_user_id;

	private String phone;

	@Id
	@Column(name = "sreach_id", unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Integer getSreach_id() {
		return sreach_id;
	}

	public void setSreach_id(Integer sreach_id) {
		this.sreach_id = sreach_id;
	}

	public Date getSearch_time() {
		return search_time;
	}

	public void setSearch_time(Date search_time) {
		this.search_time = search_time;
	}

	public String getSearch_user_id() {
		return search_user_id;
	}

	public void setSearch_user_id(String search_user_id) {
		this.search_user_id = search_user_id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
